package com.example.pingze.repository;

import com.example.pingze.entity.Comment;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface CommentRepository extends JpaRepository<Comment, String> {
    List<Comment> findCommentByCreationId(String creationId);

    Comment findCommentById(String commentId);
}
